//**********************************************************
//    File Name: TestSuite.cs
//    Author: Team Motif
//    Date Created : 04/13/2007
//    Current Owner: Team Motif 
//                                                                            
//    Purpose: 
//    To launch the AUT that each team member built.
//
//	  Copyright 2007
//**********************************************************
using System;
using System.Collections.Generic;
using System.Text;

namespace LibraryTest
{
    class TestSuite
    {
        static void Main(string[] args)
        {
            ////[Unit Test - Isaiah]
            System.Console.WriteLine("=========================================================");
            System.Console.WriteLine("Beginning Client Test");
            ClientTest ct = new ClientTest();
            ct.Initialize();
            ct.PersonTest();
            ct.ClientSummaryTest();
            ct.ClientAssessmentTest();
            ct.ClientChartTest();
            ct.Terminate();
            System.Console.WriteLine("Client Test Finished");
            System.Console.WriteLine("==========================================================");

            ////[Unit Test - Trupti]
            System.Console.WriteLine("=========================================================");
            System.Console.WriteLine("Beginning Client Search Test");
            SearchClientTest tmpClientSearch = new SearchClientTest();
            
            tmpClientSearch.Initialize();
            
            tmpClientSearch.A_TestSearchSameLastName();
            tmpClientSearch.B_TestSearchSameFirstName();
            tmpClientSearch.C_TestSearchUniqueFirstLastName();
            tmpClientSearch.D_TestSearchNullFirstLastName();
            tmpClientSearch.E_TestSearchHugeFirstName();
            tmpClientSearch.F_TestSearchInvalidNames();
            tmpClientSearch.G_TestSearchAfterAddingRecord();
            tmpClientSearch.H_TestSearchAfterDeletingRecord();
            
            tmpClientSearch.ResetDatabase();
            
            System.Console.WriteLine("Client Search Test Finished");
            System.Console.WriteLine("==========================================================");

            //[Unit Test - Kavya]
            System.Console.WriteLine(" ");
            System.Console.WriteLine("=========================================================");
            System.Console.WriteLine("Beginning AvailableTimeSlot Test");
            AvailableTimeSlotTest availTest = new AvailableTimeSlotTest();
            availTest.findDateForDay();
            System.Console.WriteLine("AvailableTimeSlot Test Finished");
            System.Console.WriteLine("==========================================================");

            System.Console.WriteLine(" ");
            System.Console.WriteLine("=========================================================");
            System.Console.WriteLine("Beginning Homecare Worker Test");
            HomeCareWorkerMatchTest hcwTest = new HomeCareWorkerMatchTest();
            hcwTest.findMatchingHCWTest();
            System.Console.WriteLine("Homecare Worker Match Test Finished");
            System.Console.WriteLine("==========================================================");

            //[Unit Test - Dewi]
            System.Console.WriteLine(" ");
            System.Console.WriteLine("==========================================================");
            System.Console.WriteLine("Beginning Save Appointment Test");
            AppointmentTest at = new AppointmentTest();
            at.SaveApptTest();
            System.Console.WriteLine("Save Appointment Test Finished");
            System.Console.WriteLine("==========================================================");

        }
    }
}
